<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
	<head>
		<base href="<%=basePath%>">
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="renderer" content="webkit">
  		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<title>金泰物业系统管理</title>
		<link rel="stylesheet" type="text/css" href="js/layui-v2.1.5/layui/css/layui.css"/>
		<link rel="stylesheet" href="js/font-awesome/css/font-awesome.min.css">
		<link rel="stylesheet" type="text/css" href="js/malihu-custom-scrollbar-plugin-master/jquery.mCustomScrollbar.min.css">
		<link rel="stylesheet" href="static/index.css">
		<!-- favicon 图标 -->
		<link rel="shortcut icon" href="images/favicon.ico">
	</head>
	<body>
		<div class="layui-layout layui-layout-admin kit-layout-admin">
			<!-- 头部 -->
			<div class="layui-header">
	            <div class="layui-logo my-logo">
	            	<a href="/pms">
		            	<img src="images/logo-pic.png">
	            	</a>
	            </div>
	            <ul class="layui-nav layui-layout-right kit-nav">
	                <li class="layui-nav-item">
	                    <a href="javascript:;">
	                        <img src="http://m.zhengjinfan.cn/images/0.jpg" class="layui-nav-img">
	                        <shiro:principal property="userName"></shiro:principal>
	                    </a>
	                    <dl class="layui-nav-child">
	                        <dd><a href="javascript:;">基本资料</a></dd>
	                        <dd><a href="javascript:;">安全设置</a></dd>
	                    </dl>
	                </li>
	                <li class="layui-nav-item"><a href="logout"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a></li>
	            </ul>
	        </div>
	        <!-- 侧边栏 -->
	        <div class="layui-side layui-bg-black slideBox1" style='width:160px'>
	        	<div class="layui-side-scroll">
	        		<!-- bar -->
	        		<div class="layui-nav-item layui-nav-title" style="height:45px;text-align:center">
			            <i class="fa fa-bars  barnav1"></i>
			        </div>
	        		<ul class="layui-nav layui-nav-tree left_menu_ul my-nav1">
						<!-- menu -->
						<li class="layui-nav-item layui-nav-itemed">
							<a href="javascript:;">
								<i class="fa fa-database fa-fw"></i>
								<span>系统管理</span>
							</a>
							<dl class="layui-nav-child">
								<dd class="layui-this"><a href="admin/org/dept/list" target="centerFrame">组织管理</a></dd>
								<dd><a href="admin/org/user/list" target="centerFrame">用户管理</a></dd>
								<dd><a href="admin/org/role/list" target="centerFrame">角色管理</a></dd>
								<dd><a href="p_admin/approval/approval-list.jsp" target="centerFrame">审批管理</a></dd>
							</dl>
						</li>
		            </ul>
	        	</div>
	        </div> 
	        
	        <div class="layui-body iframe-container my-body" style="left:160px;margin-top:-40px;margin-left:10px">
				<div class='iframe-content'>
					<iframe id="centerFrame" name="centerFrame" src="admin/org/dept/list" frameborder="0" style="width:100%;height:100%;display: block;">
						
					</iframe>
				</div>
		    </div>
		</div>
	</body>
	<script type="text/javascript" src="js/jquery-1.11.1.js" ></script>
	<script src="js/layui-v2.1.5/layui/layui.js"></script>
	<script type="text/javascript" src="js/layui-v2.1.5/layui/layui.all.js" ></script>
	<script type="text/javascript" src="js/malihu-custom-scrollbar-plugin-master/jquery.mCustomScrollbar.concat.min.js"></script>
	<!-- <script src='static/index.js'></script> -->
</html>
